import type { PageParams } from "@/types/global";
import type { HotResult, SubTypeItem } from "@/types/hot";
import { http } from "@/utils/http";

export const getHotRecommandAPI = (url: string, params?: PageParams & { subType?: string }) => {
    return http<HotResult>({
        method: 'GET',
        url: url,
        data: params
    })
}